package cn.kgc.service;

import cn.kgc.pojo.Standards;

import java.util.List;

public interface StandardsService {

    //分页展示
    public List<Standards> getListByLimit(String zhname,int currentPageNo,int pageSize);

    //获取总数量
    public int totalCount(String zhname);

    //根据ID查询数据
    public Standards getListById(Integer id);

    //增加数据
    public boolean add(Standards standards);

    //修改数据
    public boolean update(Standards standards);

    //删除数据
    public boolean delete(Integer id);
}
